package org.linlinjava.litemall.admin.vo.locks;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author wj
 * @date 2021/8/12 13:36
 */
public class RFIDCommodityListVo {

    private Integer shopId;

    private String rfidCode;

    @Min(value = 1,message = "商品id不能小于1")
    private Integer commdityId;

    private String state;

    private ChainAddress address;

    private Integer storeId;

    private Integer medicalId;

    @NotNull(message = "页码不能为空")
    @DecimalMin(value = "1",message = "页码不能小于1")
    private Integer page;

    @NotNull(message = "每页条数不能为空")
    @DecimalMin(value = "0",message = "每页条数不能小于0")
    private Integer limit;

    public String getRfidCode() {
        return rfidCode;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public void setRfidCode(String rfidCode) {
        this.rfidCode = rfidCode;
    }

    public Integer getCommdityId() {
        return commdityId;
    }

    public void setCommdityId(Integer commdityId) {
        this.commdityId = commdityId;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public ChainAddress getAddress() {
        return address;
    }

    public void setAddress(ChainAddress address) {
        this.address = address;
    }

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public Integer getMedicalId() {
        return medicalId;
    }

    public void setMedicalId(Integer medicalId) {
        this.medicalId = medicalId;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }
}
